<?php
include "conn.php";
// if (isset($_GET['goods_id'])) {
//     $sid = $_GET['goods_id'];
//     $result = $conn->query("select * from goods where goods_id = 50");
//     echo json_encode($result->fetch_assoc());
// }
    $result = $conn->query("select * from goods ");
    echo json_encode($result->fetch_assoc());
